from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep
from options import options
driver=webdriver.Chrome(options=options)
driver.get(r'https://www.baidu.com/')
text=driver.find_element(By.XPATH,'//*[@id="s-top-left"]/a[1]').text
print(text)
href=driver.find_element(By.XPATH,'//*[@id="su"]').get_attribute('value')
print(href)
is_display=driver.find_element(By.XPATH,'//*[@id="bottom_layer"]').is_displayed()
print(is_display)